﻿@model DefeatEpidemic.Models.Family

<div class="layui-row">
    <span class="layui-breadcrumb">
        <a href="~/home/index">首页</a>
        <a href="~/families/Index">家庭管理</a>
        <a>
            <cite>添加家庭</cite>
        </a>
    </span>
    <a class="layui-btn layui-btn-xs" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon layui-icon-refresh-1" style="line-height:25px;font-size: 10px"></i>
    </a>
</div>
<hr />
<div class="layui-row">
    <form asp-action="Create" class="layui-form">
        <div asp-validation-summary="ModelOnly" class="text-danger"></div>
        <div class="layui-form-item">
            <label asp-for="name" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="name" class="layui-input" placeholder="请输入家庭姓名" lay-verify="required" />
            </div>
            <span asp-validation-for="name" class="text-danger"></span>
        </div>
        <div class="layui-form-item">
            <label asp-for="address" class="layui-form-label"></label>
            <div class="layui-input-block">
                <input asp-for="address" class="layui-input" placeholder="请输入地址" lay-verify="required" />
            </div>
            <span asp-validation-for="address" class="text-danger"></span>
        </div>

        <div class="layui-form-item" style="padding-left:30px">
            <input type="submit" value="创建" class="layui-btn" />
            <a asp-action="Index" class="layui-btn layui-btn-primary">返回列表</a>
        </div>
    </form>
</div>
